package timing.ukulele.data.third.data.msg;

import lombok.Data;
import java.io.Serializable;

/**
 * 渠道账号信息
 * @author
 */
@Data
public class ChannelAccountDTO implements Serializable {

    private Long id;

    private Long groupId;

    private String groupName;

    /**
     * 账号名称
     */
    private String name;

    /**
     * 消息发送渠道：10.IM(站内信) 20.JGPush(通知栏) 30.ALYSms(短信) 40.QQEmail(邮件) 50.微信公众号（模板消息） 60.微信小程序（订阅消息） 70.企业微信（应用消息） 80.企业微信（机器人） 90. 钉钉群机器人 100.钉钉工作消息 110.飞书机器人 120.支付宝小程序（订阅号）
     */
    private Integer sendChannel;

    private String accountConfig;

    /**
     * 账号配置
     *
     * 极光push账号样例：{"appKey":"23423423","secret":"234234234"}
     *
     * 阿里云账号样例：{"url":"sms.tencentcloudapi.com","regionId":"cn-hangzhou","accessKeyId":"AKIDhDxxxxxxxx1WljQq","secret":"B4hwww39yxxxrrrrgxyi","templateCode":"1182097","signName":"诺达云","sysVersion":"2017-05-25"}
     *
     * QQ邮箱账号样例：{"host":"smtp.qq.com","port":465,"user":"23423432@qq.com","pass":"234324324","from":"123123@qq.com","starttlsEnable":"true","auth":true,"sslEnable":true}
     *
     * 公众号账号样例：{"appId":"wx27f83ca10e06b325","secret":"203299484df873a18621d076db46fa99"}
     *
     * 小程序账号样例：{"appId":"wx993a5323432ba86","appSecret":"7ffffcc59e1fsdafsdafsdc0650ac1ada7"}
     *
     * 企业微信（应用消息）账号样例：{"corpId":"23423423","corpSecret":"-234324234","agentId":1000002,"token":"234234","aesKey":"23423423"}
     *
     * 企业微信（机器人）消息样例：{"webhook":"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5699eac1-b073-47da-9e97-xxxxxxxx"}
     *
     * 钉钉群机器人样例：{"secret":"234324324324","webhook":"https://oapi.dingtalk.com/robot/send?access_token=8d03b68d081f732343243242343247328b0c3003d164715d2c6c6e56"}
     *
     * 钉钉工作消息样例：{ "appKey": "23423423", "appSecret": "tQpvmkR863dYcuKDVfM23432432432423Nlx_fYLLLlpPJWHvWKbTu", "agentId": "1523423423242" }
     *
     * 飞书机器人消息样例：{ "webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/xxxx-9aa3-xxx-9239-xxxxxx" }
     *
     * 支付宝小程序消息样例：{"privateKey":"MIIEvQIBADANB......","alipayPublicKey":"MIIBIjANBg...","appId":"2014********7148"}
     */
    private String trueAccountConfig;

    private Integer current;

    private Integer pageSize;

}
